package com.test.test_rest.miner_pool.domain.gen;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WalletTrxUserCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    protected String isCURD;

    public WalletTrxUserCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    public void setIsCURD(String isCURD) {
        this.isCURD=isCURD;
    }

    public String getIsCURD() {
        return isCURD;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("USERNAME is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("USERNAME is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("USERNAME =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("USERNAME <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("USERNAME >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("USERNAME >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("USERNAME <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("USERNAME <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("USERNAME like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("USERNAME not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("USERNAME in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("USERNAME not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("USERNAME between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("USERNAME not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("ADDRESS =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("ADDRESS <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("ADDRESS >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ADDRESS >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("ADDRESS <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("ADDRESS <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("ADDRESS like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("ADDRESS not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("ADDRESS in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("ADDRESS not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("ADDRESS between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("ADDRESS not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyIsNull() {
            addCriterion("PRIVATE_KEY is null");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyIsNotNull() {
            addCriterion("PRIVATE_KEY is not null");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyEqualTo(String value) {
            addCriterion("PRIVATE_KEY =", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyNotEqualTo(String value) {
            addCriterion("PRIVATE_KEY <>", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyGreaterThan(String value) {
            addCriterion("PRIVATE_KEY >", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyGreaterThanOrEqualTo(String value) {
            addCriterion("PRIVATE_KEY >=", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyLessThan(String value) {
            addCriterion("PRIVATE_KEY <", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyLessThanOrEqualTo(String value) {
            addCriterion("PRIVATE_KEY <=", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyLike(String value) {
            addCriterion("PRIVATE_KEY like", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyNotLike(String value) {
            addCriterion("PRIVATE_KEY not like", value, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyIn(List<String> values) {
            addCriterion("PRIVATE_KEY in", values, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyNotIn(List<String> values) {
            addCriterion("PRIVATE_KEY not in", values, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyBetween(String value1, String value2) {
            addCriterion("PRIVATE_KEY between", value1, value2, "privateKey");
            return (Criteria) this;
        }

        public Criteria andPrivateKeyNotBetween(String value1, String value2) {
            addCriterion("PRIVATE_KEY not between", value1, value2, "privateKey");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusIsNull() {
            addCriterion("ASYNC_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusIsNotNull() {
            addCriterion("ASYNC_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusEqualTo(Integer value) {
            addCriterion("ASYNC_STATUS =", value, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusNotEqualTo(Integer value) {
            addCriterion("ASYNC_STATUS <>", value, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusGreaterThan(Integer value) {
            addCriterion("ASYNC_STATUS >", value, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("ASYNC_STATUS >=", value, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusLessThan(Integer value) {
            addCriterion("ASYNC_STATUS <", value, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusLessThanOrEqualTo(Integer value) {
            addCriterion("ASYNC_STATUS <=", value, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusIn(List<Integer> values) {
            addCriterion("ASYNC_STATUS in", values, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusNotIn(List<Integer> values) {
            addCriterion("ASYNC_STATUS not in", values, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusBetween(Integer value1, Integer value2) {
            addCriterion("ASYNC_STATUS between", value1, value2, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andAsyncStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("ASYNC_STATUS not between", value1, value2, "asyncStatus");
            return (Criteria) this;
        }

        public Criteria andLastAmountIsNull() {
            addCriterion("LAST_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andLastAmountIsNotNull() {
            addCriterion("LAST_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andLastAmountEqualTo(BigDecimal value) {
            addCriterion("LAST_AMOUNT =", value, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountNotEqualTo(BigDecimal value) {
            addCriterion("LAST_AMOUNT <>", value, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountGreaterThan(BigDecimal value) {
            addCriterion("LAST_AMOUNT >", value, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LAST_AMOUNT >=", value, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountLessThan(BigDecimal value) {
            addCriterion("LAST_AMOUNT <", value, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LAST_AMOUNT <=", value, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountIn(List<BigDecimal> values) {
            addCriterion("LAST_AMOUNT in", values, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountNotIn(List<BigDecimal> values) {
            addCriterion("LAST_AMOUNT not in", values, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LAST_AMOUNT between", value1, value2, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andLastAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LAST_AMOUNT not between", value1, value2, "lastAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountIsNull() {
            addCriterion("TRX_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andTrxAmountIsNotNull() {
            addCriterion("TRX_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andTrxAmountEqualTo(BigDecimal value) {
            addCriterion("TRX_AMOUNT =", value, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountNotEqualTo(BigDecimal value) {
            addCriterion("TRX_AMOUNT <>", value, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountGreaterThan(BigDecimal value) {
            addCriterion("TRX_AMOUNT >", value, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TRX_AMOUNT >=", value, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountLessThan(BigDecimal value) {
            addCriterion("TRX_AMOUNT <", value, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TRX_AMOUNT <=", value, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountIn(List<BigDecimal> values) {
            addCriterion("TRX_AMOUNT in", values, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountNotIn(List<BigDecimal> values) {
            addCriterion("TRX_AMOUNT not in", values, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TRX_AMOUNT between", value1, value2, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andTrxAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TRX_AMOUNT not between", value1, value2, "trxAmount");
            return (Criteria) this;
        }

        public Criteria andHashStrIsNull() {
            addCriterion("HASH_STR is null");
            return (Criteria) this;
        }

        public Criteria andHashStrIsNotNull() {
            addCriterion("HASH_STR is not null");
            return (Criteria) this;
        }

        public Criteria andHashStrEqualTo(String value) {
            addCriterion("HASH_STR =", value, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrNotEqualTo(String value) {
            addCriterion("HASH_STR <>", value, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrGreaterThan(String value) {
            addCriterion("HASH_STR >", value, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrGreaterThanOrEqualTo(String value) {
            addCriterion("HASH_STR >=", value, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrLessThan(String value) {
            addCriterion("HASH_STR <", value, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrLessThanOrEqualTo(String value) {
            addCriterion("HASH_STR <=", value, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrLike(String value) {
            addCriterion("HASH_STR like", value, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrNotLike(String value) {
            addCriterion("HASH_STR not like", value, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrIn(List<String> values) {
            addCriterion("HASH_STR in", values, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrNotIn(List<String> values) {
            addCriterion("HASH_STR not in", values, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrBetween(String value1, String value2) {
            addCriterion("HASH_STR between", value1, value2, "hashStr");
            return (Criteria) this;
        }

        public Criteria andHashStrNotBetween(String value1, String value2) {
            addCriterion("HASH_STR not between", value1, value2, "hashStr");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}